
const preLoanManagementRoutes = {
    path: '/preLoanManagement',
    name: 'preLoanManagement',
    meta: {
        title: '贷前管理',
    },
    children: [
        {   
            path:'/preLoanManagement/preTrialManagement', 
            name: 'preTrialManagement',
            meta: {
                title: '预审管理',
            },
            children: [
                { 
                    path:'/preLoanManagement/preTrialManagement/preTrialCustomer', 
                    name:'preTrialCustomer',
                    props: {msg:'Hello Vue 3 + TypeScript + Vite + preTrialCustomer'}, 
                    component: '../components/HelloWorld.vue',
                    meta: {
                        title: '客户预审结果查询',
                    },
                },
                { 
                    path:'/preLoanManagement/preTrialManagement/preTrialLoan', 
                    name:'preTrialLoan',
                    props: {msg:'Hello Vue 3 + TypeScript + Vite + preTrialLoan'}, 
                    component: '../components/HelloWorld.vue',
                    meta: {
                        title: '贷款预审结果查询',
                    },
                },
            ]
        }
    ]
}

const publicManagementRoutes = {
    path: '/publicManagement',
    name: 'publicManagement',
    meta: {
        title: '公共管理',
    },
    children: [
        { 
            path:'/publicManagement/messageManagement',
            name:'messageManagement',
            meta: {
                title: '短信管理',
            },
            children: [
                { 
                    path:'/publicManagement/messageManagement/messageTemplate',
                    name:'messageTemplate',
                    props: {msg:'Hello Vue 3 + TypeScript + Vite + messageTemplate'}, 
                    component: '../components/HelloWorld.vue',
                    meta: {
                        title: '短信模板管理',
                    }
                },
                { 
                    path:'/publicManagement/messageManagement/messageRecord',
                    name:'messageRecord',
                    props: {postparam:'{"processName":"duseApplyList"}'}, 
                    component: '../components/index02.vue',
                    meta: {
                        title: '短信发送记录',
                    }
                },
            ]
        }
    ]
}

const menuLst = [ preLoanManagementRoutes, publicManagementRoutes]

export default { 
    menuLst
}